package com.jule.miaozhuapc.webSocket.control;

import java.net.Socket;

import javax.websocket.Session;

import org.springframework.web.socket.WebSocketSession;

/**
 *  每局游戏
 * @author Administrator
 *
 */
public class GameUserBean {


	/**
	 * 玩家ID
	 */
	private Long userId;

	/**
	 *  玩家名
	 */
	private String wxNickName;

	private  String wxPic;
	/**
	 *  娃娃名
	 */
	private String wawaName;

	/**
	 * 玩家该条游戏记录ID
	 */
	private Long gameId;
	/**
	 *  是否扣钱
	 */
	private Boolean isPay;
	
	
	/**
	 *  该房间游戏时长
	 */
	private int gameTime;
	
	/**
	 *  session
	 */
	private WebSocketSession  session;
	/**
	 *  剩余金币
	 */
	private Integer coin;

	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getGameId() {
		return gameId;
	}
	public void setGameId(Long gameId) {
		this.gameId = gameId;
	}
	public Boolean getIsPay() {
		return isPay;
	}
	public void setIsPay(Boolean isPay) {
		this.isPay = isPay;
	}
	public String getWxNickName() {
		return wxNickName;
	}
	public void setWxNickName(String wxNickName) {
		this.wxNickName = wxNickName;
	}
	public String getWawaName() {
		return wawaName;
	}
	public void setWawaName(String wawaName) {
		this.wawaName = wawaName;
	}
	public int getSucMessageMAX() {
		return 4;
	}
	public int getGameTime() {
		return gameTime;
	}
	public void setGameTime(int gameTime) {
		this.gameTime = gameTime;
	}
	public WebSocketSession getSession() {
		return session;
	}
	public void setSession(WebSocketSession session) {
		this.session = session;
	}

	public Integer getCoin() {
		return coin;
	}

	public void setCoin(Integer coin) {
		this.coin = coin;
	}

	public String getWxPic() {
		return wxPic;
	}

	public void setWxPic(String wxPic) {
		this.wxPic = wxPic;
	}
}
